<?php
	defined( "AZ_EXE_" ) or die ( "CORE VARIABLE IS NOT DEFINED." );
	class Cookie extends AZ {
		public static function exist( $cookieName ){
			if ( isset( $_COOKIE ) && $_COOKIE[ $cookieName ] ){
				return true;
			}
			return false ;
		}
		
		public static function get( $cookieName ){
			if ( isset( $_COOKIE ) && $_COOKIE[ $cookieName ] ){
				return $_COOKIE[ $cookieName ];
			}
			return NULL ;
		}
		
		public static function set( $cookieName , $value = array() ){
			if ( isset( $_COOKIE ) && $_COOKIE[ $cookieName ] ){
				return $_COOKIE[ $cookieName ];
			}
			return NULL ;
		}
	} 
?>